package org.upt.dcda;

import org.upt.dcda.db.UserEntity;
import org.upt.dcda.exceptions.BookstoreException;

public interface UserManager
{

	public UserEntity createUser(String firstName, String lastName,
			String email, String password, String address)
			throws BookstoreException;

	public UserEntity modifyUserInfo(int userId, String firstName,
			String lastName, String address) throws BookstoreException;

	public UserEntity modifyCredentials(int userId, String currentPassword,
			String newPassword) throws BookstoreException;

	public UserEntity verifyCredentials(String email, String password)
			throws BookstoreException;

}
